package org.dhbw.oodb.dmlp.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="customer")
public class Customer {
	private static final long serialVersionUID = 1L;

	@Id
    private long c_custkey;
	
	private String c_name;
	
	private String c_address;
	
	private int c_nationkey;
	
	private String c_phone;
	
	private double c_acctbal;
	
	private String c_mktsegment;
	
	private String c_comment;

    /** Creates a new instance of Assistant */
    public Customer() {
    }

    /**
     * Returns a string representation of the object.  This implementation constructs 
     * that representation based on the id fields.
     * @return a string representation of the object.
     */
    @Override
    public String toString() {
        return "Customer: "+super.toString();
    }

	public long getC_custkey() {
		return c_custkey;
	}

	public void setC_custkey(long l) {
		this.c_custkey = l;
	}

	public String getC_name() {
		return c_name;
	}

	public void setC_name(String name) {
		this.c_name = name;
	}

	public String getC_address() {
		return c_address;
	}

	public void setC_address(String address) {
		this.c_address = address;
	}

	public int getC_nationkey() {
		return c_nationkey;
	}

	public void setC_nationkey(int nationkey) {
		this.c_nationkey = nationkey;
	}

	public String getC_phone() {
		return c_phone;
	}

	public void setC_phone(String phone) {
		this.c_phone = phone;
	}

	public double getC_acctbal() {
		return c_acctbal;
	}

	public void setC_acctbal(double acctbal) {
		this.c_acctbal = acctbal;
	}

	public String getC_mktsegment() {
		return c_mktsegment;
	}

	public void setC_mktsegment(String mktsegment) {
		this.c_mktsegment = mktsegment;
	}

	public String getC_comment() {
		return c_comment;
	}

	public void setC_comment(String comment) {
		this.c_comment = comment;
	}
}
